function nl2 = gmm_nl2(mix1, mix2)

z11 = gmmprod(mix1);
z22 = gmmprod(mix2);
z12 = gmmprod(mix1, mix2);

z = z12/(sqrt(z11)*sqrt(z22));
nl2 = 2*(1-z);
